/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.inspur.edp.sgf.dt.core.exception;

/**
 * @author Kaixuan Shi
 * @since 2023/3/20
 */
public class ExceptionCode {

    /**
     * 根据业务对象ID获取业务对象信息失败，请检查业务对象ID是否被修改、与当前是否一致
     */
    public static final String GSP_EAPI_DESIGN_0001 = "GSP_EAPI_DESIGN_0001";
    /**
     * Eapi异常：根据业务对象ID获取业务对象编号失败，请检查业务对象ID是否被修改、与当前是否一致
     */
    public static final String GSP_EAPI_DESIGN_0002 = "GSP_EAPI_DESIGN_0002";

    /**
     * 获取{0}外部服务定义资源适配器失败
     */
    public static final String GSP_EAPI_DESIGN_0101 = "GSP_EAPI_DESIGN_0101";

    /**
     * EAPI创建时参数校验不通过：依赖元数据的相对路径不能为空
     */
    public static final String GSP_EAPI_DESIGN_0201 = "GSP_EAPI_DESIGN_0201";
    /**
     * 参数校验不通过：元数据不能为空
     */
    public static final String GSP_EAPI_DESIGN_0202 = "GSP_EAPI_DESIGN_0202";
    /**
     * 参数校验不通过：元数据的Header字段不能为空
     */
    public static final String GSP_EAPI_DESIGN_0203 = "GSP_EAPI_DESIGN_0203";
    /**
     * 参数校验不通过：元数据类型字段不能为空
     */
    public static final String GSP_EAPI_DESIGN_0204 = "GSP_EAPI_DESIGN_0204";
    /**
     * 参数校验不通过：元数据ID字段不能为空
     */
    public static final String GSP_EAPI_DESIGN_0205 = "GSP_EAPI_DESIGN_0205";
    /**
     * 不支持的资源类型
     */
    public static final String GSP_EAPI_DESIGN_0206 = "GSP_EAPI_DESIGN_0206";

    /**
     * 元数据ID不能为空
     */
    public static final String GSP_EAPI_DESIGN_0301 = "GSP_EAPI_DESIGN_0301";
    /**
     * 元数据【%s(ID:%s)】的相对路径为空，无法获取工程信息！
     */
    public static final String GSP_EAPI_DESIGN_0302 = "GSP_EAPI_DESIGN_0302";
    /**
     * 获取MetadataProjectService Bean为空
     */
    public static final String GSP_EAPI_DESIGN_0303 = "GSP_EAPI_DESIGN_0303";
    /**
     * 元数据【%s(ID:%s)】根据相对路径【%s】获取工程信息为空！
     */
    public static final String GSP_EAPI_DESIGN_0304 = "GSP_EAPI_DESIGN_0304";
    /**
     * 获取元数据工程信息失败
     */
    public static final String GSP_EAPI_DESIGN_0305 = "GSP_EAPI_DESIGN_0305";

}
